/***************************************************************
 * Name:      XCommanderApp.cpp
 * Purpose:   Code for Application Class
 * Author:    st.yushao (st.yushao@gmail.com)
 * Created:   2009-07-15
 * Copyright: st.yushao ()
 * License:
 **************************************************************/

#include "../include/XCommanderApp.h"

//(*AppHeaders
#include "../include/XCommanderMain.h"
#include <wx/image.h>
//*)

IMPLEMENT_APP(XCommanderApp);

bool XCommanderApp::OnInit()
{
    //(*AppInitialize
    bool wxsOK = true;
    wxInitAllImageHandlers();
    if ( wxsOK )
    {
    	XCommanderMain* Frame = new XCommanderMain(0);
    	Frame->Show();
    	SetTopWindow(Frame);
    }
    //*)
    return wxsOK;

}
